package com.rainbow.modules.quartztest;

import lombok.extern.slf4j.Slf4j;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

/**
 * Auth rainbow
 * 简单定时任务
 */
@Slf4j
public class SampleJob implements Job {
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        log.info("欢迎是使用本系统，正在测试简单定时任务,时间：{}", new Date());
    }
}
